//
//  AddCircleSecondViewController.h
//  安好
// 添加圈子二级菜单
//  Created by rlp on 14-11-26.
//  Copyright (c) 2014年 lianchuangbrother. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "AddCircleSecondLevelTableViewCell.h"
#import "CircleModelDataModels.h"
#import "UIImageView+MJWebCache.h"
#import "PopoverView.h"
#import "CircleModelData.h"


@protocol AddCircleSecondLevelDelegate <NSObject>

-(void)selectedWithAttentions:(NSMutableArray*)attentions;

-(void)selectedWithAttentions:(NSMutableArray*)attentions delAttentions:(NSMutableArray*)delAttentions;


@end

@interface AddCircleSecondViewController : BaseViewController<UITableViewDataSource,UITableViewDelegate>
@property (weak, nonatomic) IBOutlet UITableView *tableView;
@property (strong,nonatomic)CircleModelData *circleModelData;
/**
 *  网络请求的列表数据
 */
@property(strong,nonatomic)NSMutableArray *secondCircleArray;
@property(nonatomic,strong)NSMutableArray *circleModelDatas;
@property(nonatomic,strong)UIButton *centerButton;
@property(nonatomic,strong)UIButton *rightButton;
/**
 *  所选择的二级圈子二级圈子选中状态1选中0未选 button的tag是字典key
 */
@property(nonatomic,strong)NSMutableDictionary*selectDict;
/**
 *  关注的数组里面是CircleModelData集合
 */
@property(nonatomic,strong)NSMutableArray*attentionArray;
@property(nonatomic,strong)NSMutableArray*deleAttentionArray;

@property(strong,nonatomic)NSMutableDictionary *attentionDict;//


@property(nonatomic,assign)id <AddCircleSecondLevelDelegate>delegate;
@property (nonatomic,strong)PopoverView *pop;


@end
